package entity;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class User implements java.io.Serializable {

	// Fields

	private String userNumber;
	private String userPassword;
	private String userName;
	private String userMajor;
	private String userNickname;
	private String userSex;
	private String userLongphone;
	private String userShortphone;
	private String userEmail;
	private String userHobby;
	private String userHometown;
	private String userRemark;

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String userNumber, String userPassword, String userName,
			String userMajor) {
		this.userNumber = userNumber;
		this.userPassword = userPassword;
		this.userName = userName;
		this.userMajor = userMajor;
	}

	/** full constructor */
	public User(String userNumber, String userPassword, String userName,
			String userMajor, String userNickname, String userSex,
			String userLongphone, String userShortphone, String userEmail,
			String userHobby, String userHometown, String userRemark) {
		this.userNumber = userNumber;
		this.userPassword = userPassword;
		this.userName = userName;
		this.userMajor = userMajor;
		this.userNickname = userNickname;
		this.userSex = userSex;
		this.userLongphone = userLongphone;
		this.userShortphone = userShortphone;
		this.userEmail = userEmail;
		this.userHobby = userHobby;
		this.userHometown = userHometown;
		this.userRemark = userRemark;
	}

	// Property accessors

	public String getUserNumber() {
		return this.userNumber;
	}

	public void setUserNumber(String userNumber) {
		this.userNumber = userNumber;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserMajor() {
		return this.userMajor;
	}

	public void setUserMajor(String userMajor) {
		this.userMajor = userMajor;
	}

	public String getUserNickname() {
		return this.userNickname;
	}

	public void setUserNickname(String userNickname) {
		this.userNickname = userNickname;
	}

	public String getUserSex() {
		return this.userSex;
	}

	public void setUserSex(String userSex) {
		this.userSex = userSex;
	}

	public String getUserLongphone() {
		return this.userLongphone;
	}

	public void setUserLongphone(String userLongphone) {
		this.userLongphone = userLongphone;
	}

	public String getUserShortphone() {
		return this.userShortphone;
	}

	public void setUserShortphone(String userShortphone) {
		this.userShortphone = userShortphone;
	}

	public String getUserEmail() {
		return this.userEmail;
	}

	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}

	public String getUserHobby() {
		return this.userHobby;
	}

	public void setUserHobby(String userHobby) {
		this.userHobby = userHobby;
	}

	public String getUserHometown() {
		return this.userHometown;
	}

	public void setUserHometown(String userHometown) {
		this.userHometown = userHometown;
	}

	public String getUserRemark() {
		return this.userRemark;
	}

	public void setUserRemark(String userRemark) {
		this.userRemark = userRemark;
	}

}